
CXXFLAGS=-I$(INCLUDE_PATH) -L$(LIB_PATH) 
LDLIBS=-pthread

PROJECT_DIR=../../ec2

all:main main2

SRC=main.cpp infoHub_impl.cpp ${PROJECT_DIR}/public/_public.cpp ${PROJECT_DIR}/public/utility.cc
HEAD=infoHub_impl.h ${PROJECT_DIR}/public/_public.h ${PROJECT_DIR}/public/utility.h

main:${SRC} ${HEAD}
	g++ -g -o main ${SRC} $(CXXFLAGS) $(LDLIBS)

SRC=main2.cpp infoHub_impl.cpp ${PROJECT_DIR}/public/_public.cpp ${PROJECT_DIR}/public/utility.cc
HEAD=infoHub.h infoHub_impl.h ${PROJECT_DIR}/public/_public.h ${PROJECT_DIR}/public/utility.h

main2:${SRC} ${HEAD}
	g++ -g -o main2 ${SRC} $(CXXFLAGS) $(LDLIBS)

clean:
	rm -rf main main2 
